package com.neusoft.entity;

/**
 * 购物车
 */
public class ShopCart {

    private Integer shopcart_id;

    /**
     * 购物车所属买家，一个买家只能有一个购物车
     */
    private Integer userId;

    /**
     * 用户实体，用以关联查询
     */

    private User user;

    public Integer getShopcart_id() {
		return shopcart_id;
	}

	public void setShopcart_id(Integer shopcart_id) {
		this.shopcart_id = shopcart_id;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
